<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh" dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Editplus4PHP" />
    <meta name="keywords" content="Editplus4PHP" />
    <meta name="description" content="Editplus4PHP" />
    <meta name="author" content="bobo" />
    <script type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="__APP__/resources/css/main/base.css" />
    <link rel="stylesheet" type="text/css" href="__APP__/resources/css/main/main.css" />
    
<!--
    <script type="text/javascript" src="js/common.js"></script>
    
    <link rel="shortcut icon" href="images/favicon.ico" />
-->
    <title>Example | xHTML1.0</title>
</head>
<body>
    <div class="layout">
        <div class="header">
            <div class="logo"><img src ="__APP__/resources/image/main/logo.jpg" title="logo" /></div>
            <div class="line"></div>
            <div class="top-ad"><img src="__APP__/resources/image/main/ad1.jpg" /></div>
            <div class="clear"></div>
            <div class="nav">
                <div class="nav-left"></div>
                <div class="nav-middle">
                    <ul>
                        <li class="curr"><a href="<?php echo U('main/index');?>" title="网站首页" >网站首页</a></li>
                        <?php if(is_array($nav)): $i = 0; $__LIST__ = $nav;$_count = count($__LIST__);if( $_count==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><li><a href="<?php echo U('main/articlelist',array('cid'=>$vo['cid']));?>" title="<?php echo ($vo["cname"]); ?>"><?php echo ($vo["cname"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                        <li><a href="#" title="投诉建议">投诉建议</a></li>
                        <li><a href="#" title="联系我们">联系我们</a></li>
                    </ul>
                </div>
                <div class="nav-right"></div>
            </div>
        </div>
        <div class="content">
            <div class="bread">
                <a href="#">红日物业首页</a><span> > </span><span>asdfadsf</span>
            </div>
            <div class="box-1">
                <div class="box-1-top"></div>
                <div class="box-1-cont">
                    <div class="box-8">
                        <h3 class="title"><?php echo ($cate_list['cname']); ?></h3>
                        <ul>
                            <?php if(is_array($sub_cate_list)): $i = 0; $__LIST__ = $sub_cate_list;$_count = count($__LIST__);if( $_count==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><li <?php $vo['curr'] === true && print_r('class="curr"'); ?>><a href="<?php echo U('main/articleList',array('cid'=>$vo['cid']));?>" title="<?php echo ($vo["cname"]); ?>"><?php echo ($vo["cname"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                            
                        </ul>
                    </div>
                    <div class="box-9">
                        <ul>
                            <?php if (empty($article_data)){
                                    echo '暂时无相关信息。';
                                }else{
                                    foreach($article_data as $key=>$value){ ?>
                                        <li><a href="<?php echo U('main/show',array('aid'=>$value['aid']));?>" title="<?php echo ($value["title"]); ?>"><?php echo ($value["title"]); ?></a><span><?php echo date('Y-m-d',$value['update_time']);?></span></li>
                            <?php }
                                } ?>
                        </ul>
                    </div>                    
                </div>
                <div class="clear"></div>
                <div class="box-1-bottom"></div>
            </div>
   
        </div>
        <div class="footer"></div>
    </div>
</body>
</html>